<!DOCTYPE html>
<html lang="zh_CN">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>@yield('title')</title>
  <!-- 引入图标 -->
  <link rel="shortcut icon" href="/favicon.ico" />
  <!-- 引入layui样式 -->
  <link rel="stylesheet" href="/layui/css/layui.css">
  <!-- 引入bootstrap样式 -->
  <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.6.0/css/bootstrap.min.css" rel="stylesheet">
  <!-- 引入公共样式 -->
  <link rel="stylesheet" href="/css/ht_common.css">
  @section('style')
  @show
</head>
<body>
  <div class="container-fluid header">
    <div class="row">
      <div class="col-md-4">
        <div class="logo">
          <a href="{{url('/admin/user/index')}}">
            <img src="/logo.png" alt="">
          </a>
          <h2 class="float-right">后台控制台</h2>
        </div>
      </div>
      <div class="col-md-8">
        <div class="user pr-5">
          <a href="{{url('/admin/user/profile/'.$u->id)}}">个人中心</a> ｜<a href="{{url('/public/logout')}}">退出</a>｜ <a href="{{url('/')}}">首页</a>
        </div>
      </div>
    </div>
  </div>
  @section('content')
  @show
  <div class="container-fluid footer pt-3 bg-secondary">
    <div class="contact float-right">
      <img src="/imgs/contact.jpg" alt="">
    </div>
    <h2 class="text-white">生活博客-记录生活趣事</h2>
    <div class="copy">
      <p>友情链接 <a href="https://mirrors.aliyun.com">阿里云</a> ｜ 
        <a href="https://lmonkey.com">学习猿地</a> ｜
        <a href="https://baidu.com">百度</a>
      </p>
      <p>备案号京62824081412398998</p>
    </div>
  </div>
  <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  <script src="/layui/layui.js"></script>
  <script src="/js/common.js"></script>
  <script>
  @section('script')
  @show
  </script>
</body>
</html>